<?php
/**
 *	@package WordPress
 *	@subpackage Grid_Focus
 */
?>
<div class="secondaryColumn">
	<?php
	$cal = 'kairos';
	$gcal = new gCalWeb($cal, array(
			'debug' => 0,
			'shows' => 'normal',
			'numdays' => 60
			));

	echo $gcal->widgetDisplay();	
	?>
	<div id="latestPosts">
		
		<h2 class="first">What is Kairos?</h2>
		<br />
		<p>We are a Christian campus fellowship at <a href="http://berkeley.edu/">UC Berkeley</a>. We believe that the Bible is still very relevant in this day and age, and we live life and have fun together. </p>

		<p>We belong to the bigger family that is <a href="http://www.gracepointonline.org/">Gracepoint - Berkeley</a>, led by <a href="http://edkang.wordpress.com/">Pastor Ed</a> and <a href="http://kellykangblog.wordpress.com/">Kelly Kang</a>.</p>

	</div>
	
	<div id="latestPosts">
	
	<?php
	
	if (in_category(4)){?>
		<h2>Kairos Rick&Sue News</h2>
		<?php
		dynamic_sidebar('Primary - Kairos1');
		$cat = 4;
	}
	else if (in_category(5)){ ?>
		<h2>Kairos Andy&Amy News</h2>
		<?php dynamic_sidebar('Primary - Kairos2');
		$cat = 5;
	}
	else if (in_category(9)){
		dynamic_sidebar('Primary - Kairos3');
		$cat = 9;
	}
	else if (in_category(10)){?>
		<h2>Kairos Steve&Eunice News</h2>
		<?php
		dynamic_sidebar('Primary - Kairos4');
		$cat = 10;
	}
	
	?>
	
	<?php featured_posts(); ?>
	
	<div class="widgetContainer widget_recent_entries">
		<h3>Latest Posts</h3>
		<ul>
		<?php
		query_posts('cat='.$cat.'&showposts=10'); 
		// the Loop
		while (have_posts()) : the_post(); 
		?>
			<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
		<?php endwhile; ?>
		</ul>
	</div>

	</div> <!-- end #latestPosts -->
</div>
